<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.12.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Geo3DML-CPP: include/geo3dml/PBRMaterial.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Geo3DML-CPP
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.12.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_acc7f90eaa859a07dba55a8b62805b11.html">geo3dml</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="headertitle"><div class="title">PBRMaterial.h</div></div>
</div><!--header-->
<div class="contents">
<a href="_p_b_r_material_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">// UTF-8编码</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span> </div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="preprocessor">#include &quot;<a class="code" href="_color_8h.html">Color.h</a>&quot;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="preprocessor">#include &quot;<a class="code" href="_texture_8h.html">Texture.h</a>&quot;</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span> </div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespacegeo3dml.html">geo3dml</a> {</div>
<div class="foldopen" id="foldopen00012" data-start="{" data-end="};">
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_p_b_r_material.html">   12</a></span>    <span class="keyword">class </span><a class="code hl_class" href="classgeo3dml_1_1_p_b_r_material.html">PBRMaterial</a> {</div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_p_b_r_material.html#a8a4acc69c944329f9f8beb24bee3b4bf">   14</a></span>        <a class="code hl_function" href="classgeo3dml_1_1_p_b_r_material.html#a8a4acc69c944329f9f8beb24bee3b4bf">PBRMaterial</a>();</div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_p_b_r_material.html#a912b401796a684dc8fedaaa6b002c85b">   15</a></span>        <span class="keyword">virtual</span> <a class="code hl_function" href="classgeo3dml_1_1_p_b_r_material.html#a912b401796a684dc8fedaaa6b002c85b">~PBRMaterial</a>();</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span> </div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_p_b_r_material.html#ac5c04ab716dd2dc987dade7d84ecb4a4">   18</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_p_b_r_material.html#ac5c04ab716dd2dc987dade7d84ecb4a4">SetBaseColor</a>(<span class="keyword">const</span> <a class="code hl_class" href="classgeo3dml_1_1_color.html">Color</a>&amp; clr);</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_p_b_r_material.html#ad3c7de1244636330ca88536579d9fc58">   19</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classgeo3dml_1_1_color.html">Color</a>&amp; <a class="code hl_function" href="classgeo3dml_1_1_p_b_r_material.html#ad3c7de1244636330ca88536579d9fc58">GetBaseColor</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span> </div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_p_b_r_material.html#a8a5537fa2939159bc46d2c088aaa89a6">   22</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_p_b_r_material.html#a8a5537fa2939159bc46d2c088aaa89a6">SetBaseTexture</a>(<span class="keyword">const</span> <a class="code hl_class" href="classgeo3dml_1_1_texture.html">Texture</a>&amp; tex);</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_p_b_r_material.html#af8e11fc78b07ef8c0ebdd8de8e255fdb">   23</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classgeo3dml_1_1_texture.html">Texture</a>&amp; <a class="code hl_function" href="classgeo3dml_1_1_p_b_r_material.html#af8e11fc78b07ef8c0ebdd8de8e255fdb">GetBaseTexture</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span> </div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_p_b_r_material.html#a8cc6e5e5bc0661a42eea5f808bdf9c3d">   26</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_p_b_r_material.html#a8cc6e5e5bc0661a42eea5f808bdf9c3d">SetEmissiveColor</a>(<span class="keyword">const</span> <a class="code hl_class" href="classgeo3dml_1_1_color.html">Color</a>&amp; clr);</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_p_b_r_material.html#abd22d20f9e65b558b02c418c88cabe18">   27</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classgeo3dml_1_1_color.html">Color</a>&amp; <a class="code hl_function" href="classgeo3dml_1_1_p_b_r_material.html#abd22d20f9e65b558b02c418c88cabe18">GetEmissiveColor</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span> </div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_p_b_r_material.html#ad0bc79d8894d179aebcee2defaceccc7">   30</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_p_b_r_material.html#ad0bc79d8894d179aebcee2defaceccc7">SetNormalTexture</a>(<span class="keyword">const</span> <a class="code hl_class" href="classgeo3dml_1_1_texture.html">Texture</a>&amp; tex);</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_p_b_r_material.html#ac69b77e4f90de77ef77ed2405b083b59">   31</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classgeo3dml_1_1_texture.html">Texture</a>&amp; <a class="code hl_function" href="classgeo3dml_1_1_p_b_r_material.html#ac69b77e4f90de77ef77ed2405b083b59">GetNormalTexture</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span> </div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_p_b_r_material.html#a6fac8b49df965325867e36b6035f05f6">   34</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_p_b_r_material.html#a6fac8b49df965325867e36b6035f05f6">SetOcclusionTexture</a>(<span class="keyword">const</span> <a class="code hl_class" href="classgeo3dml_1_1_texture.html">Texture</a>&amp; tex);</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_p_b_r_material.html#a9422a76b17cb8af712bc5b364fd379a6">   35</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classgeo3dml_1_1_texture.html">Texture</a>&amp; <a class="code hl_function" href="classgeo3dml_1_1_p_b_r_material.html#a9422a76b17cb8af712bc5b364fd379a6">GetOcclusionTexture</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span> </div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_p_b_r_material.html#a89427f8c099507b1c09022a8720d6946">   38</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_p_b_r_material.html#a89427f8c099507b1c09022a8720d6946">SetMetallic</a>(<span class="keywordtype">double</span> metallic);</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_p_b_r_material.html#a372587024e015d670fa520ff267f170e">   39</a></span>        <span class="keywordtype">double</span> <a class="code hl_function" href="classgeo3dml_1_1_p_b_r_material.html#a372587024e015d670fa520ff267f170e">GetMetallic</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span> </div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_p_b_r_material.html#a3cfbb8468f3096d13baeb25d74ad563b">   42</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_p_b_r_material.html#a3cfbb8468f3096d13baeb25d74ad563b">SetRoughness</a>(<span class="keywordtype">double</span> roughness);</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_p_b_r_material.html#abe486896fb411c789c0e17e3318989c3">   43</a></span>        <span class="keywordtype">double</span> <a class="code hl_function" href="classgeo3dml_1_1_p_b_r_material.html#abe486896fb411c789c0e17e3318989c3">GetRoughness</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span> </div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_p_b_r_material.html#a8aac7b478a34de024901fe7913a46631">   46</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_p_b_r_material.html#a8aac7b478a34de024901fe7913a46631">SetSpecularColor</a>(<span class="keyword">const</span> <a class="code hl_class" href="classgeo3dml_1_1_color.html">Color</a>&amp; clr);</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_p_b_r_material.html#a65c5a385fe93b6b2aad929827c2f61f4">   47</a></span>        <span class="keyword">const</span> <a class="code hl_class" href="classgeo3dml_1_1_color.html">Color</a>&amp; <a class="code hl_function" href="classgeo3dml_1_1_p_b_r_material.html#a65c5a385fe93b6b2aad929827c2f61f4">GetSpecularColor</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span> </div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_p_b_r_material.html#a075d7a34956e56f03658e4e4e49a7ddc">   50</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classgeo3dml_1_1_p_b_r_material.html#a075d7a34956e56f03658e4e4e49a7ddc">SetIndexOfRefraction</a>(<span class="keywordtype">double</span> refraction);</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_p_b_r_material.html#a61a7fde3dce76d1ac8508d1c9af50127">   51</a></span>        <span class="keywordtype">double</span> <a class="code hl_function" href="classgeo3dml_1_1_p_b_r_material.html#a61a7fde3dce76d1ac8508d1c9af50127">GetIndexOfRefraction</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span> </div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span>    <span class="keyword">private</span>:</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_p_b_r_material.html#a35ffa3a3d130f358791c8288f7f3d261">   54</a></span>        <a class="code hl_class" href="classgeo3dml_1_1_color.html">Color</a> <a class="code hl_variable" href="classgeo3dml_1_1_p_b_r_material.html#a35ffa3a3d130f358791c8288f7f3d261">baseColor_</a>;       </div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_p_b_r_material.html#a8e51911bc333983d68d8450a8ce66219">   55</a></span>        <a class="code hl_class" href="classgeo3dml_1_1_texture.html">Texture</a> <a class="code hl_variable" href="classgeo3dml_1_1_p_b_r_material.html#a8e51911bc333983d68d8450a8ce66219">baseTexture_</a>;   </div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_p_b_r_material.html#a4c462c8f691f25cb41c4537a2b0d8981">   56</a></span>        <a class="code hl_class" href="classgeo3dml_1_1_color.html">Color</a> <a class="code hl_variable" href="classgeo3dml_1_1_p_b_r_material.html#a4c462c8f691f25cb41c4537a2b0d8981">emissiveColor_</a>;   </div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_p_b_r_material.html#a91da4338a774c771978166fa9b5db0df">   57</a></span>        <a class="code hl_class" href="classgeo3dml_1_1_texture.html">Texture</a> <a class="code hl_variable" href="classgeo3dml_1_1_p_b_r_material.html#a91da4338a774c771978166fa9b5db0df">normalTexture_</a>; </div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_p_b_r_material.html#a0dbf660cb0b69b606e27a5868e9753d9">   58</a></span>        <a class="code hl_class" href="classgeo3dml_1_1_texture.html">Texture</a> <a class="code hl_variable" href="classgeo3dml_1_1_p_b_r_material.html#a0dbf660cb0b69b606e27a5868e9753d9">occlusionTexture_</a>;  </div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_p_b_r_material.html#a592b8f5aa5ad21abf1d2aec6ec114a5e">   59</a></span>        <span class="keywordtype">double</span> <a class="code hl_variable" href="classgeo3dml_1_1_p_b_r_material.html#a592b8f5aa5ad21abf1d2aec6ec114a5e">metallic_</a>, <a class="code hl_variable" href="classgeo3dml_1_1_p_b_r_material.html#a924ce930ac8d2a8ee2c438c305108402">roughness_</a>;</div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_p_b_r_material.html#abf4db0abc46b99f3064fa22e087e7b7f">   60</a></span>        <a class="code hl_class" href="classgeo3dml_1_1_color.html">Color</a> <a class="code hl_variable" href="classgeo3dml_1_1_p_b_r_material.html#abf4db0abc46b99f3064fa22e087e7b7f">specularColor_</a>;</div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"><a class="line" href="classgeo3dml_1_1_p_b_r_material.html#abbd9c76c1ffd4c2938b18ffb4596782d">   61</a></span>        <span class="keywordtype">double</span> <a class="code hl_variable" href="classgeo3dml_1_1_p_b_r_material.html#abbd9c76c1ffd4c2938b18ffb4596782d">indexOfRefraction_</a>;</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span>    };</div>
</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span>}</div>
<div class="ttc" id="a_color_8h_html"><div class="ttname"><a href="_color_8h.html">Color.h</a></div></div>
<div class="ttc" id="a_texture_8h_html"><div class="ttname"><a href="_texture_8h.html">Texture.h</a></div></div>
<div class="ttc" id="aclassgeo3dml_1_1_color_html"><div class="ttname"><a href="classgeo3dml_1_1_color.html">geo3dml::Color</a></div><div class="ttdef"><b>Definition</b> Color.h:5</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_p_b_r_material_html"><div class="ttname"><a href="classgeo3dml_1_1_p_b_r_material.html">geo3dml::PBRMaterial</a></div><div class="ttdoc">可视化材质参数。 地调局标准（简称局标，或v1版标准）与地理信息协会标准（简称协会标准，或v2版标准）使用不同的材质定义。 两个版本使用完全不同的属性。但从实际效果看，v2版本涵盖了v1版本。</div><div class="ttdef"><b>Definition</b> PBRMaterial.h:12</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_p_b_r_material_html_a075d7a34956e56f03658e4e4e49a7ddc"><div class="ttname"><a href="classgeo3dml_1_1_p_b_r_material.html#a075d7a34956e56f03658e4e4e49a7ddc">geo3dml::PBRMaterial::SetIndexOfRefraction</a></div><div class="ttdeci">void SetIndexOfRefraction(double refraction)</div><div class="ttdoc">折射率。仅用于透明或半透明材质。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_p_b_r_material_html_a0dbf660cb0b69b606e27a5868e9753d9"><div class="ttname"><a href="classgeo3dml_1_1_p_b_r_material.html#a0dbf660cb0b69b606e27a5868e9753d9">geo3dml::PBRMaterial::occlusionTexture_</a></div><div class="ttdeci">Texture occlusionTexture_</div><div class="ttdoc">环境光遮蔽纹理。仅使用其R通道的值。</div><div class="ttdef"><b>Definition</b> PBRMaterial.h:58</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_p_b_r_material_html_a35ffa3a3d130f358791c8288f7f3d261"><div class="ttname"><a href="classgeo3dml_1_1_p_b_r_material.html#a35ffa3a3d130f358791c8288f7f3d261">geo3dml::PBRMaterial::baseColor_</a></div><div class="ttdeci">Color baseColor_</div><div class="ttdoc">对象自身的颜色。</div><div class="ttdef"><b>Definition</b> PBRMaterial.h:54</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_p_b_r_material_html_a372587024e015d670fa520ff267f170e"><div class="ttname"><a href="classgeo3dml_1_1_p_b_r_material.html#a372587024e015d670fa520ff267f170e">geo3dml::PBRMaterial::GetMetallic</a></div><div class="ttdeci">double GetMetallic() const</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_p_b_r_material_html_a3cfbb8468f3096d13baeb25d74ad563b"><div class="ttname"><a href="classgeo3dml_1_1_p_b_r_material.html#a3cfbb8468f3096d13baeb25d74ad563b">geo3dml::PBRMaterial::SetRoughness</a></div><div class="ttdeci">void SetRoughness(double roughness)</div><div class="ttdoc">粗糙度。取值区间：[0, 1]。0表示光滑的表面，1表示粗糙的表面。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_p_b_r_material_html_a4c462c8f691f25cb41c4537a2b0d8981"><div class="ttname"><a href="classgeo3dml_1_1_p_b_r_material.html#a4c462c8f691f25cb41c4537a2b0d8981">geo3dml::PBRMaterial::emissiveColor_</a></div><div class="ttdeci">Color emissiveColor_</div><div class="ttdoc">若对象发光，指定其发光的颜色。</div><div class="ttdef"><b>Definition</b> PBRMaterial.h:56</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_p_b_r_material_html_a592b8f5aa5ad21abf1d2aec6ec114a5e"><div class="ttname"><a href="classgeo3dml_1_1_p_b_r_material.html#a592b8f5aa5ad21abf1d2aec6ec114a5e">geo3dml::PBRMaterial::metallic_</a></div><div class="ttdeci">double metallic_</div><div class="ttdef"><b>Definition</b> PBRMaterial.h:59</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_p_b_r_material_html_a61a7fde3dce76d1ac8508d1c9af50127"><div class="ttname"><a href="classgeo3dml_1_1_p_b_r_material.html#a61a7fde3dce76d1ac8508d1c9af50127">geo3dml::PBRMaterial::GetIndexOfRefraction</a></div><div class="ttdeci">double GetIndexOfRefraction() const</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_p_b_r_material_html_a65c5a385fe93b6b2aad929827c2f61f4"><div class="ttname"><a href="classgeo3dml_1_1_p_b_r_material.html#a65c5a385fe93b6b2aad929827c2f61f4">geo3dml::PBRMaterial::GetSpecularColor</a></div><div class="ttdeci">const Color &amp; GetSpecularColor() const</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_p_b_r_material_html_a6fac8b49df965325867e36b6035f05f6"><div class="ttname"><a href="classgeo3dml_1_1_p_b_r_material.html#a6fac8b49df965325867e36b6035f05f6">geo3dml::PBRMaterial::SetOcclusionTexture</a></div><div class="ttdeci">void SetOcclusionTexture(const Texture &amp;tex)</div><div class="ttdoc">环境光遮蔽纹理。仅使用其R通道的值。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_p_b_r_material_html_a89427f8c099507b1c09022a8720d6946"><div class="ttname"><a href="classgeo3dml_1_1_p_b_r_material.html#a89427f8c099507b1c09022a8720d6946">geo3dml::PBRMaterial::SetMetallic</a></div><div class="ttdeci">void SetMetallic(double metallic)</div><div class="ttdoc">金属度。取值区间：[0, 1]。0表示非金属，1表示完全金属。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_p_b_r_material_html_a8a4acc69c944329f9f8beb24bee3b4bf"><div class="ttname"><a href="classgeo3dml_1_1_p_b_r_material.html#a8a4acc69c944329f9f8beb24bee3b4bf">geo3dml::PBRMaterial::PBRMaterial</a></div><div class="ttdeci">PBRMaterial()</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_p_b_r_material_html_a8a5537fa2939159bc46d2c088aaa89a6"><div class="ttname"><a href="classgeo3dml_1_1_p_b_r_material.html#a8a5537fa2939159bc46d2c088aaa89a6">geo3dml::PBRMaterial::SetBaseTexture</a></div><div class="ttdeci">void SetBaseTexture(const Texture &amp;tex)</div><div class="ttdoc">基础纹理。有纹理时忽略基础颜色参数。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_p_b_r_material_html_a8aac7b478a34de024901fe7913a46631"><div class="ttname"><a href="classgeo3dml_1_1_p_b_r_material.html#a8aac7b478a34de024901fe7913a46631">geo3dml::PBRMaterial::SetSpecularColor</a></div><div class="ttdeci">void SetSpecularColor(const Color &amp;clr)</div><div class="ttdoc">镜面反射颜色。金属材质的高光颜色。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_p_b_r_material_html_a8cc6e5e5bc0661a42eea5f808bdf9c3d"><div class="ttname"><a href="classgeo3dml_1_1_p_b_r_material.html#a8cc6e5e5bc0661a42eea5f808bdf9c3d">geo3dml::PBRMaterial::SetEmissiveColor</a></div><div class="ttdeci">void SetEmissiveColor(const Color &amp;clr)</div><div class="ttdoc">对象发光时的颜色。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_p_b_r_material_html_a8e51911bc333983d68d8450a8ce66219"><div class="ttname"><a href="classgeo3dml_1_1_p_b_r_material.html#a8e51911bc333983d68d8450a8ce66219">geo3dml::PBRMaterial::baseTexture_</a></div><div class="ttdeci">Texture baseTexture_</div><div class="ttdoc">对象自身纹理。有纹理时忽略baseColor_。</div><div class="ttdef"><b>Definition</b> PBRMaterial.h:55</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_p_b_r_material_html_a912b401796a684dc8fedaaa6b002c85b"><div class="ttname"><a href="classgeo3dml_1_1_p_b_r_material.html#a912b401796a684dc8fedaaa6b002c85b">geo3dml::PBRMaterial::~PBRMaterial</a></div><div class="ttdeci">virtual ~PBRMaterial()</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_p_b_r_material_html_a91da4338a774c771978166fa9b5db0df"><div class="ttname"><a href="classgeo3dml_1_1_p_b_r_material.html#a91da4338a774c771978166fa9b5db0df">geo3dml::PBRMaterial::normalTexture_</a></div><div class="ttdeci">Texture normalTexture_</div><div class="ttdoc">对象的法向纹理。使用其RGB通道的值。</div><div class="ttdef"><b>Definition</b> PBRMaterial.h:57</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_p_b_r_material_html_a924ce930ac8d2a8ee2c438c305108402"><div class="ttname"><a href="classgeo3dml_1_1_p_b_r_material.html#a924ce930ac8d2a8ee2c438c305108402">geo3dml::PBRMaterial::roughness_</a></div><div class="ttdeci">double roughness_</div><div class="ttdef"><b>Definition</b> PBRMaterial.h:59</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_p_b_r_material_html_a9422a76b17cb8af712bc5b364fd379a6"><div class="ttname"><a href="classgeo3dml_1_1_p_b_r_material.html#a9422a76b17cb8af712bc5b364fd379a6">geo3dml::PBRMaterial::GetOcclusionTexture</a></div><div class="ttdeci">const Texture &amp; GetOcclusionTexture() const</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_p_b_r_material_html_abbd9c76c1ffd4c2938b18ffb4596782d"><div class="ttname"><a href="classgeo3dml_1_1_p_b_r_material.html#abbd9c76c1ffd4c2938b18ffb4596782d">geo3dml::PBRMaterial::indexOfRefraction_</a></div><div class="ttdeci">double indexOfRefraction_</div><div class="ttdef"><b>Definition</b> PBRMaterial.h:61</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_p_b_r_material_html_abd22d20f9e65b558b02c418c88cabe18"><div class="ttname"><a href="classgeo3dml_1_1_p_b_r_material.html#abd22d20f9e65b558b02c418c88cabe18">geo3dml::PBRMaterial::GetEmissiveColor</a></div><div class="ttdeci">const Color &amp; GetEmissiveColor() const</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_p_b_r_material_html_abe486896fb411c789c0e17e3318989c3"><div class="ttname"><a href="classgeo3dml_1_1_p_b_r_material.html#abe486896fb411c789c0e17e3318989c3">geo3dml::PBRMaterial::GetRoughness</a></div><div class="ttdeci">double GetRoughness() const</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_p_b_r_material_html_abf4db0abc46b99f3064fa22e087e7b7f"><div class="ttname"><a href="classgeo3dml_1_1_p_b_r_material.html#abf4db0abc46b99f3064fa22e087e7b7f">geo3dml::PBRMaterial::specularColor_</a></div><div class="ttdeci">Color specularColor_</div><div class="ttdef"><b>Definition</b> PBRMaterial.h:60</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_p_b_r_material_html_ac5c04ab716dd2dc987dade7d84ecb4a4"><div class="ttname"><a href="classgeo3dml_1_1_p_b_r_material.html#ac5c04ab716dd2dc987dade7d84ecb4a4">geo3dml::PBRMaterial::SetBaseColor</a></div><div class="ttdeci">void SetBaseColor(const Color &amp;clr)</div><div class="ttdoc">基础颜色</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_p_b_r_material_html_ac69b77e4f90de77ef77ed2405b083b59"><div class="ttname"><a href="classgeo3dml_1_1_p_b_r_material.html#ac69b77e4f90de77ef77ed2405b083b59">geo3dml::PBRMaterial::GetNormalTexture</a></div><div class="ttdeci">const Texture &amp; GetNormalTexture() const</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_p_b_r_material_html_ad0bc79d8894d179aebcee2defaceccc7"><div class="ttname"><a href="classgeo3dml_1_1_p_b_r_material.html#ad0bc79d8894d179aebcee2defaceccc7">geo3dml::PBRMaterial::SetNormalTexture</a></div><div class="ttdeci">void SetNormalTexture(const Texture &amp;tex)</div><div class="ttdoc">对象的法向纹理。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_p_b_r_material_html_ad3c7de1244636330ca88536579d9fc58"><div class="ttname"><a href="classgeo3dml_1_1_p_b_r_material.html#ad3c7de1244636330ca88536579d9fc58">geo3dml::PBRMaterial::GetBaseColor</a></div><div class="ttdeci">const Color &amp; GetBaseColor() const</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_p_b_r_material_html_af8e11fc78b07ef8c0ebdd8de8e255fdb"><div class="ttname"><a href="classgeo3dml_1_1_p_b_r_material.html#af8e11fc78b07ef8c0ebdd8de8e255fdb">geo3dml::PBRMaterial::GetBaseTexture</a></div><div class="ttdeci">const Texture &amp; GetBaseTexture() const</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_texture_html"><div class="ttname"><a href="classgeo3dml_1_1_texture.html">geo3dml::Texture</a></div><div class="ttdoc">纹理。暂时仅支持geo3dml:AbstractTexture所定义的基本纹理属性，主要包括图片文件地址和铺设模式。不支持纹理坐标等其它参数。 纹理图片可以是普通图片，也可以是国标定义的地质图图例符号。</div><div class="ttdef"><b>Definition</b> Texture.h:41</div></div>
<div class="ttc" id="anamespacegeo3dml_html"><div class="ttname"><a href="namespacegeo3dml.html">geo3dml</a></div><div class="ttdef"><b>Definition</b> AbstractMetadata.h:6</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
